﻿using AutoMapper;
using MyTask.Tasking.Applicaiton.Commands;
using MyTask.Tasking.Domain.TaskAggregate;
using System;
using System.Collections.Generic;
using System.Text;

namespace MyTask.Tasking.Applicaiton.AutoMapperProfiles
{
   public class AutomapperConfig: Profile
    {
        public AutomapperConfig() 
        {
            CreateMap<CreatedUserInfoCommand, UserInfo>();
            CreateMap<CreatedTaskInfoCommand, TaskInfo>();
        }
    }
}
